package com.cskaoyan.demo6.mapper;

import com.cskaoyan.demo6.bean.model.MarketGoodsSpecification;
import com.cskaoyan.demo6.bean.model.MarketGoodsSpecificationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
*@Description：
*@Author：BLUEBLANK
*@Date：2024/4/20  21:13
*/


    
public interface MarketGoodsSpecificationMapper {
    long countByExample(MarketGoodsSpecificationExample example);

    int deleteByExample(MarketGoodsSpecificationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketGoodsSpecification record);

    int insertOrUpdate(MarketGoodsSpecification record);

    int insertOrUpdateSelective(MarketGoodsSpecification record);

    int insertSelective(MarketGoodsSpecification record);

    List<MarketGoodsSpecification> selectByExample(MarketGoodsSpecificationExample example);

    MarketGoodsSpecification selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketGoodsSpecification record, @Param("example") MarketGoodsSpecificationExample example);

    int updateByExample(@Param("record") MarketGoodsSpecification record, @Param("example") MarketGoodsSpecificationExample example);

    int updateByPrimaryKeySelective(MarketGoodsSpecification record);

    int updateByPrimaryKey(MarketGoodsSpecification record);

    int updateBatch(List<MarketGoodsSpecification> list);

    int updateBatchSelective(List<MarketGoodsSpecification> list);

    int batchInsert(@Param("list") List<MarketGoodsSpecification> list);
}